package com.naiterui.ehp.bs.cms.modules.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.cms.common.vo.PageParamsVO;
import com.naiterui.ehp.bs.cms.common.vo.PageVO;
import com.naiterui.ehp.bs.cms.modules.wms.entity.PrescriptionPlatformProduct;
import com.naiterui.ehp.bs.cms.modules.wms.vo.PlatformSkuVO;
import com.naiterui.ehp.bs.cms.modules.wms.vo.PrescriptionPlatformProductVO;
import com.naiterui.ehp.bs.cms.modules.wms.vo.ThirdPartyProductVO;

/**
 * <pre>
 *
 * </pre>
 *
 * @author fangguanhong
 * @date 2021/4/9 4:28 PM
 * @since 1.0.0
 */
public interface IPlatformService extends IService<PrescriptionPlatformProduct> {

    PageVO<ThirdPartyProductVO> queryPage(PageParamsVO pageParamsVO, ThirdPartyProductVO productVO);

    PlatformSkuVO thirdPartProductInfo(Long thirdId) throws BusinessException;

    PlatformSkuVO skuInfo(Long skuId) throws BusinessException;

    PageVO<PrescriptionPlatformProductVO> getPlatformProductPage(PageParamsVO pageParamsVO, PrescriptionPlatformProductVO platformProductVO)
        throws BusinessException;
    void updateProduct(PlatformSkuVO param) throws BusinessException;
}
